package com.wbt.bambootown.mvp.contract;

import com.wbt.bambootown.entity.CameraPic;
import com.wbt.bambootown.entity.ControlLog;
import com.wbt.bambootown.mvp.frame.base.BasePresenter;
import com.wbt.bambootown.mvp.frame.base.BaseView;

import java.util.List;

import retrofit2.http.Query;

public interface ControlLogContract {
    interface View extends BaseView {
        void showError(String errorMsg);

        void showLogSuccess(List<ControlLog> controlLogs);
    }

    interface Presenter extends BasePresenter {
        void getControlLog2(
                int id, int pageIndex,
                int pageSize, String begin, String end);
    }
}
